﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="StoStatistic.aspx.cs" Inherits="StoStatistic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>入库统计查询</title>
</head>
<body background ="../../images/物资右侧背景.jpg"  style=" font-size:9pt">
    <form id="form1" runat="server">
    <div>
    
        <table style="height: 149px; width: 75%;" cellpadding="0" cellspacing="0" align="center">
            
            <tr>
                <td style="width: 321px; height: 21px">
                    存放仓库</td>
                <td style="width: 323px; height: 21px">
                    <asp:DropDownList ID="ddlStroe" runat="server" AppendDataBoundItems="True" Width="107px" >
                    </asp:DropDownList></td>
                <td style="width: 294px; height: 21px">
                    供货商</td>
                <td style="width: 382px; height: 21px">
                    <asp:DropDownList ID="ddlCustomer" runat="server" AppendDataBoundItems="True" Width="106px">
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td style="width: 321px">
                    入库类型</td>
                <td style="width: 323px">
                    <asp:DropDownList ID="ddlIN" runat="server" AppendDataBoundItems="True" Width="107px">
                    </asp:DropDownList></td>
                <td style="width: 294px">
                    采购人</td>
                <td style="width: 382px">
                    <asp:TextBox ID="txtSign" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td style="width: 321px; height: 27px;">
                    采购部门</td>
                <td style="width: 323px; height: 27px;">
                    <asp:DropDownList ID="ddlDepartment" runat="server" AppendDataBoundItems="True" Width="106px" >
                    </asp:DropDownList></td>
                <td style="width: 294px; height: 27px">
                    签收人</td>
                <td style="width: 382px; height: 27px">
                    <asp:TextBox ID="txtBuyMan" runat="server" ></asp:TextBox>
        <asp:Button ID="btnOK" runat="server" OnClick="btnOK_Click" Text="查询" /></td>
            </tr>
            <tr>
                <td colspan="4" rowspan="5" style="height: 109px">
                    &nbsp;<asp:DataList ID="DataList1" runat="server" GridLines="Horizontal" Width="430px" BorderColor="Black" BorderWidth="1px" CellSpacing="1">
                        <ItemTemplate>
                            <table width="376">
                                <tr>
                                    <td style="width: 94px; height: 19px;">
                                        <asp:Label ID="Label3" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.WzID") %>'></asp:Label></td>
                                    <td style="width: 94px; height: 19px;">
                                        <asp:Label ID="Label4" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.Name") %>'></asp:Label></td>
                                    <td style="width: 94px; height: 19px;">
                                        <asp:Label ID="Label5" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.Mode") %>'></asp:Label></td>
                                    <td style="width: 94px; height: 19px;">
                                        <asp:Label ID="Label6" runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.Card") %>'></asp:Label></td>
                                </tr>
                            </table>
                        </ItemTemplate>
                        <HeaderTemplate>
                            <table width="376">
                                <tr>
                                    <td style="width: 94px; height: 17px">
                                        物资编号</td>
                                    <td style="width: 94px; height: 17px">
                                        物资名称</td>
                                    <td style="width: 94px; height: 17px">
                                        型号</td>
                                    <td style="width: 94px; height: 17px">
                                        品牌</td>
                                </tr>
                            </table>
                        </HeaderTemplate>
                        <FooterTemplate>
                            <table style="width: 376px">
                                <tr>
                                    <td style="width: 109px; height: 17px">
                                        入库物资数量统计：</td>
                                    <td style="width: 47px; height: 17px">
                                        <asp:Label ID="Label7" runat="server" Text="<%# totalnum %>"></asp:Label></td>
                                    <td style="width: 89px; height: 17px">
                                        入库金额统计：</td>
                                    <td style="width: 61px; height: 17px">
                                        <asp:Label ID="Label8" runat="server" Text="<%# totalmon %>"></asp:Label></td>
                                </tr>
                            </table>
                        </FooterTemplate>
                    </asp:DataList></td>
            </tr>
            <tr>
            </tr>
            <tr>
            </tr>
            <tr>
            </tr>
            <tr>
            </tr>
        </table>
    </div>
        &nbsp;&nbsp;&nbsp;
    </form>
</body>
</html>
